<template>
  <el-date-picker
    :value="value"
    type="date"
    placeholder="选择日期"
    format="yyyy-MM-dd"
    value-format="yyyy-MM-dd"
    @input="$emit('input',$event)"
  />
</template>

<script>
export default {
  props: {
    value: {
      type: [String, Date],
      default: ''
    }
  }
}
</script>

<style>

</style>
